function config = sph2car(config_sph)
    N = length(config_sph);
    config = config_sph;
    for i=14:N
        r = config_sph{i}(1);
        theta = config_sph{i}(2);
        phi = config_sph{i}(3);
        x = r * sin(theta) * cos(phi);
        y = r * sin(theta) * sin(phi);
        z = r * cos(theta);
        config{i} = [x,y,z];
    end
    return
end